package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.Comment;
import cn.mineserv.video.videoordersystem.model.CommentExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CommentDao extends BaseMapper<Comment> {
    long countByExample(CommentExample example);

    int deleteByExample(CommentExample example);

    List<Comment> selectByExample(CommentExample example);

    int updateByExampleSelective(@Param("record") Comment record, @Param("example") CommentExample example);

    int updateByExample(@Param("record") Comment record, @Param("example") CommentExample example);

    int updateBatch(List<Comment> list);

    int updateBatchSelective(List<Comment> list);

    int batchInsert(@Param("list") List<Comment> list);

    int insertOrUpdate(Comment record);

    int insertOrUpdateSelective(Comment record);
}